package com.bw.announcement.announcement

import com.bw.announcement.entity.AnnouncementData
import com.bw.announcement.entity.AnnouncementEntity
import com.bw.common.http.Res
import retrofit2.http.GET
import retrofit2.http.Query

interface AnnouncementApiService {
    @GET("/api/announcements")
    suspend fun  getAnnouncements(@Query("page")page:Int,@Query("size")size:Int):Res<List<AnnouncementData>>
}